home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1997 #1
/
Amiga Plus CD - 1997 - No. 01.iso
/
pd
/
programmierung
/
oberonv4
/
demos
/
mines.doc
< prev
next >
Wrap
Text File
|
1995-11-06
|
7KB
|
186 lines
Oberon-Mines V1.32
----------------------
A Minesweeper clone for the Oberon System V4
Oberon-Mines needs the Oberon System V4. The Oberon System is an operating
system, designed by N. Wirth, J. Gutknecht and M. Reiser.
Implementations exists for Amiga, Mac, IBM-PC, IBM-RS6000 and many
workstations. You can download the version, you are interested in, from
ftp.inf.ethz.ch (directory /pub/Oberon/) and the
Amiga version from any AmiNet-Site (dev/obero/Oberon.lha), too.
You can use Oberon-Mines on any computer, Systen V4 is available for,
just by recompiling the sourcecode. No changes need to be made to the
sourcecode. Read the files released with the system, how to use the system
and his compiler.
Copyright:
Oberon-Mines and all files in this distribution are (C)opyright 1994-1995
by Ralf Degner. All rights reserved.
The Oberon System is (C)opyright 1990-1994 by Institut fuer
Computersysteme, ETH Zuerich.
Disclaimer:
The author takes no responsibility for any result of the use of this
program. You use it by your own risk.
Distribution:
Oberon-Mines is CARDWARE. You may copy and distribute it at any way
you like, it is free. You are not allowed to sell Mines.
My copyright notice must be left intact in any distribution.
If you like Mines and if you put it on a public domain disk library
or a mailbox, send me a postcard and tell how you get Mines.
You are only authorized to spread the files like you get it.
How to use:
Oberon-Mines is a simple Minesweeper program as you know it from many
computers. I think, i don`t have do say anythink about the rules.
Copy the files Mines.Mod, MinesElems.Mod, Mines.Tool, Mines.Score,
Mines.Score.Text, Mines.Pal and Mines.Menu.Text to your Oberon directory
and compile Mines.Mod and MinesElems.Mod.
Start Mines by activating Mines.Open. If you open the Tool-file
(System.Open Mines.Tool), you will see any kown command and how to use them.
The right mousekey marks a field as a mine, the middle sets or clears a
? (only a help for your mind) and the left one shows the kind of the
field. Interclick clears the operation. If you select a field with a number
on it and interclick with right mousebutton, all neighbouring fields, that
are not marked as a mine, will be selected.
If you click at the smily at the top of the field, the game will restart.
You will see the number of mines to find left beside the smily and the
game time right beside it.
IF (system has a username) & (you like your username) THEN (Mines uses it)
ELSE (use Mines.SetUser to specify new username)
There are a color and a black&white mode of Mines. Choose the one you like
with Mines.ColorMode. If you use the color mode, it will only loke nice, if
you use the right colors. "Colos.Load Mines.Pal" will load them. The Windows
version uses the standard colors and does not need the Mines.Pal file.
Mines uses a background task to display the game time. The Time-Task kills
itself, if it is not nessecary anymore. If you do not like tasks running at
your system, Mines.TimeMode will switch to another mode. This mode displays
the time only if you select a field.
The smily shows the status of the game. If the smily is happy :-) , everything
is allright, you can play. A irresolute smily :-| tells you, that the pause
funktion is activated. If you hit a mine, the smily is very sad :-(. Try
again. If you find all mines, the smily is very happy and wears his
sun-glasses 8-) .
There are Mines-Elements for the Oberon Text System. You can insert a Mines-
Element at the caret position with MinesElems.Beginner, MinesElems.Advanced,
MinesElems.Expert and MinesElems.Insert. See the Mines.Tool text.
A Element is selected or not. A selected one has a doted line around it.
The mouseaction for a selected and not selected Elements are listed here
(R=right mousekey, M=..., L=...; second letter means interclick):
Not selected: L = select Element
M L = start normal Mines game
M R = " " " "
Selected: L = select field
L R = multiselect
R = mark field as mine
M = shows number of mines to find
M L = start new game
M R = shows hi-score
Files in this distribution:
Mines.Mod the sourcecode
MinesElems.Mod the text-elements sourcecode
Mines.Tool the Tools file
Mines.Menu.Text the menu text, Mines need it
Mines.Score the HiScore file
Mines.Score.Text text for the Score-Frame
Mines.Pal file with the colors information
Mines.doc you are reading it
Mines.Text the same in german as Oberon text
Mines.dok short german doc-file in ASCII
Tested at:
Amiga - (Amiga 4000-40, OberonV4 1.0)
IBM-RS6000 - (OberonV4 4.1)
DECstation - (OberonV4 4.2)
Windows 3.x - (OberonV4 1.31)
Bugs:
There are problems with the Mines.Menu.Text on some implementations (Sun). If
you see a trap or an other error, kill the file Mines.Menu.Text and try again.
History:
V1.0 04.08.1994
first release (AmiNet)
V1.1 10.08.1994
Hi-Score added
Mines.SetUser, Mines.Ask, Mines.Score
problems with Mines.Menu.Text fixed
now you see a real smily and `nice` mines
SearchMore changed
shows all fields, if you are dead
V1.15 14.08.1994 (internal version)
better random numbers
multiselect with RM interclick
color gfx, Mines.ColorMode
file with color information (Mines.Pal)
V1.2 02.09.1994
HiScore-file now OK
time correct at all systems
time and number of mines are displayed at frame
no warnings anymore
pause function added
V1.21 09.09.1994
Time-Task kills itself, if not necessary anymore
many small changes
V1.3 17.09.1994
Mines-Text-Elements added
Pause activated, if frame size is changed
V1.31 01.10.1994
many small bugs fixed
new format for Mines.Score (kill old one)
V1.32 01.10.1995
new way to display the HiScore
problems with time task fixed
many small changes at the source
new Random => does not import SYSTEM anymore
To Do:
Any great idea you tell me
Mines.Text with more explanation in english
My address:
If you like Mines and you have to much money you may send me some, but
you do not have to do. Send comments, suggestions, bugreports(please note
exactly computer and version of the System you use), ... to :
Ralf Degner
Schillerstr. 16
D-29525 Uelzen
Germany
E-Mail: degner@pallas.amp.uni-hannover.de
If you send E-Mail, please use only readable ASCII (UUcode or Oberons
AsciiCoder for binarys).
Have fun with it ...
and send me a postcard !!!!!! ;-)